package org.example.chapter4.aspect.validator;

import org.example.chapter4.pojo.User;

/**
 * @author CoderXshuai
 * @date 2020/7/26/0026 19:01
 */

public interface UserValidator {
    /**
     * 检测用户对象是否为空
     *
     * @param user
     * @return
     */
    boolean validate(User user);
}
